﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Master.Master" AutoEventWireup="true" CodeBehind="DelHeadV1.aspx.cs" Inherits="PresentationLayer.View.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style5
        {
            width: 185px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
      <table width="300px">
      <td>&nbsp;
      <asp:Label ID="lblEmployeeName" runat="server" Text="Employee Name"></asp:Label>
      <asp:TextBox ID="txtEmpName" runat="server"></asp:TextBox>
      <td> </td>
      <td>
      <asp:Button ID="btnSearch" runat="server" Text="Search" onclick="btnSearch_Click" 
             />
        &nbsp;</td>
       <td class="style8">&nbsp;</td>
      </table>
   
    <table width="300px">
    <tr>
    
    <td height ="100">&nbsp;<asp:Label ID="lblmessage" runat="server" Text="Label" 
            Visible="False"></asp:Label>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td> 
    <td class="style8">&nbsp;</td>

     <td class="style8" >&nbsp;</td>

    <td>
   </table>
   <table  width="300px" >
   
    <asp:gridview id="GvEmpList" runat="server" autogeneratecolumns="False" 
            Width="365px" CellPadding="4" 
        ForeColor="#333333" GridLines="None" Height="203px" AllowPaging="True" OnPageIndexChanging="GvEmpList_PageIndexChanging">        
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
     <columns>
             <asp:TemplateField HeaderText="Sr.No">
             <ItemTemplate>
                <%# Container.DataItemIndex + 1 %>
             </ItemTemplate>
             </asp:TemplateField>  
     <asp:boundfield datafield="EmpId" HeaderText="Employee ID" />              
     <asp:boundfield datafield="EmpName" HeaderText="Employee Name" />                 
     <asp:TemplateField HeaderText="Assign">
        <ItemTemplate>
          <input name="MyRadioButton" type="radio" 
                    value='<%# Eval("EmpId") %>' />
          
        </ItemTemplate>
      </asp:TemplateField>     
     </columns>  
        <EditRowStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
     </asp:gridview> 
     </td>
     </tr> 
     
     </table>
     <table align="center">
     <tr> <td height ="50px" class="style5"> </td></tr>
     <tr>
     <td align="left" class="style5">&nbsp;</td>
     <td>
         <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
             Width="81px" onclick="btnSubmit_Click" />
         &nbsp;&nbsp;</td>
         <td>
         <asp:Button ID="btnCancel" runat="server" Text="Cancel" 
             Width="81px" />
         </td>
     </tr>
     </table>
</asp:Content>
